package com.fzfnn.scrapbook.service;

import com.fzfnn.scrapbook.entity.Journal;
import com.fzfnn.scrapbook.util.R;

import java.io.IOException;


public interface JournalBasicService {
    /*创建手账*/
    R createJournal(Journal journal, String token) throws IOException;

    R updateJournal(Journal journal, String token) throws IOException;

    R deleteJournal(Integer journalId, String token);

    R toggleVisibility(Integer journalId, String token);
}
